<!DOCTYPE HTML>
<html>

	<head>
		<meta charset="UTF-8">
		<title>LingPowerAI</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script type="text/javascript">
			document.write('<script src="../../js/fix.js?rd=?rd=' + Math.random() + '"><\/script>');
		</script>
		<script type="text/javascript">
			link();
		</script>
		<style type="text/css">
			.mui-table-view-cell {
				padding: 0px;
			}
			
			ul{
				background: none !important;
			}
			.mui-table-view:after,.mui-table-view:before{
				background: none;
				}
			.mui-table-view-cell:after {
				height: auto;
			}
			#prodRecoButton{
				position: relative;
			}
			#aiEvaluationButton:before{
				content: '';
				position: absolute;
				top: 0px;
				height:calc(100% - 5px);
				width: 100%;
				background-color: rgba(153, 153, 153, 0.61);
			}
			ul{
				list-style: none;
				width: 100%;
				padding: 0rem;
			}
			ul li{
				background: #FFFFFF;
				height: 1.5rem;
				margin: 0.1rem;
				border-radius: 5px;
				border:1px solid #EEEEEE;
			}
				ul li:active{
					background-color:#F8F8F8;
				}
			ul li .img{
				display: inline-block;
				line-height: 1.5rem;
				height: 1.5rem;
				text-align: center;
				width: 30%;
			}
				.img img{
					height: 0.9rem;
					vertical-align: middle;
					width: 0.9rem;
				}
				.right{
					width: 70%;
					display: inline-block;
					vertical-align: middle;
					height: 0.9rem;
					padding-right: 0.1rem;
				}
				.right h3{
					margin: 0rem;
					font-size: 0.2rem;
					height: 0.3rem;
					margin-top: 0.05rem;
					line-height: 0.3rem;
					margin-bottom: 0.05rem;
					color: #47BAFE;
				}
				.right p{
					font-size: 0.14rem;
					margin: 0rem;
					height: 0.5rem;
					line-height: 0.21rem;
				}
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title" style="color:white;">服务</h1>
		</header>
		<div class="mui-content" id="pullrefresh">
				<ul>
					<li id="newsShareButton">
						<div class="img">
							<!-- <img src="../../images/services/newsShare.png"> -->
							<img src="../../images/services/news.png">
						</div><div class="right">
							<h3 style="margin-top: 0rem;">资讯频道</h3>
							<p>精选资讯分享，追踪客户浏览记录，了解客户关注</p>
						</div>
					</li>
					<li id="prodRecoButton">
					<div class="img">
						<!-- <img src="../../images/services/newsShare.png"> -->
						<img src="../../images/services/yuan.png">
					</div><div class="right">
						<h3>早会圆桌派</h3>
						<p>保险大咖为您解读最新时事，助力早会规划，提供聊天话题</p>
					</div>
					</li>
					<li id="zengYuanButton">
				<div class="img">
					<!-- <img src="../../images/services/newsShare.png"> -->
					<img src="../../images/services/zengYuan.png">
				</div><div class="right">
					<h3>增员小助理</h3>
					<p>智能评测联系人的增员潜力，展业的同时拓展团队，一举两得</p>
				</div>
				</li>
				<!-- 	<li id="aiEvaluationButton" class="mui-table-view-cell">
						<div>
							<img src="../../images/services/aiEvaluation.png">
						</div>
					</li> -->
				</ul>
			</div>
		<script type="text/javascript">
			script();
		</script>
		<script type="text/javascript">
			mui.init();
			mui.plusReady(function() {
						storage.init();
			storageUser = kidstorageuser.getInstance();
			let morning_link;
				request("/cmdb/queryTicketInfo/",{
					pay_type:"WX",
				sales_id:storageUser.UId
			},function(r){
			    morning_link=r.DATASET[0].morning_link;
			})
				//获取操作按钮对象
				var prodRecoButton = document.getElementById("prodRecoButton");
				var newsShareButton = document.getElementById("newsShareButton");
				var aiEvaluationButton = document.getElementById("aiEvaluationButton");
			  var zengYuanButton=document.getElementById("zengYuanButton");
			  
			  zengYuanButton.addEventListener("tap",function(){
				  	mui.openWindow({
				  	url:"Insurance_Art.html",
				  	id:"Insurance_Art.html",
					 show:{
						  autoShow:true,//页面loaded事件发生后自动显示，默认为true
						  aniShow:"pop-in",//页面显示动画，默认为”slide-in-right“；
						  duration:250//页面动画持续时间，Android平台默认100毫秒，iOS平台默认200毫秒；
						},	
					styles: {
						titleNView: {
							autoBackButton: true,
							backgroundcolor: "#47BAFE",
							titleText: "增员小助理",
							titlecolor: "white",
						}
						},
				  	 waiting:{
				  		 autoShow:false
				  	 }
				  });
			  })
				//绑定[产品推荐]事件
				prodRecoButton.addEventListener("tap", function() {
					// openNew("addressbook.html");
					// mui.alert("【产品推荐】功能暂未开放,敬请期待!");
					
							mui.openWindow({
							url:"morning_meeting.html",
							id:"morning_meeting.html",
							extras:{
							 link:morning_link,
							title:"早会圆桌 | 老郑陪你开早会",
							content:"科技赋能，早会助力。欢迎加入早会圆桌，老郑陪你开早会"
							},
							 waiting:{
								 autoShow:false
							 }
						});

				});
			
				//绑定[资讯分享]事件
				newsShareButton.addEventListener("tap", function() {
					 openNew("information.html");
					// mui.alert("【资讯分享】功能暂未开放,敬请期待!");
				})
			
				//绑定[智能评测]事件
				// aiEvaluationButton.addEventListener("tap", function() {
				// 	// openNew("addwei.html");
				// 	mui.alert("【智能评测】功能暂未开放,敬请期待!");
				// })
			});
		</script>
	</body>

</html>